/*
   Made by wackyracer / Joren.
   NPC: Shane.
   Purpose: Warps player back to Ellinia from a special quest. (Quest giving NPC is still being worked on so don't remove this NPC for just being there)
   Russian pride! <3
*/
void npc(Player @player, NPC @npc) {
	int state = npc.getState();
	if(state == 0){
		npc.addText("Would you like to return to Ellinia?");
		npc.sendYesNo();
	}
	else if(state == 1){
		if(npc.getSelected() == YES){
		player.changeMap(101000000)
		npc.end();
		}
		else{
		npc.end();
		}
	}
}